package org.jet.emall.prod.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author xiaozai
 * @version 1.0
 * @date 2020-04-30 17:03
 */
@Data
public class OrderItemDetailViewDTO {
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "订单详情ID")
    private Long id;

    @ApiModelProperty(value = "订单ID")
    private Long orderId;

    @ApiModelProperty(value = "商品SKU的ID")
    private Long skuId;

    @ApiModelProperty(value = "购买数量")
    private Integer count;

    @ApiModelProperty(value = "购买单价")
    private Long price;

    @ApiModelProperty(value = "平均成本价格")
    private Long averageCost;

    @ApiModelProperty(value = "优惠分摊金额")
    private Long feeMoney;

    @ApiModelProperty(value = "逻辑删除: 1-已删除, 0-未删除")

    private Byte deleted;

    @ApiModelProperty(value = "商品重量(克)")
    private Integer weight;

    @ApiModelProperty(value = "仓库ID")
    private Integer warehouseId;

    @ApiModelProperty(value = "最后修改时间")
    private LocalDateTime modifiedTime;

    @ApiModelProperty(value = "SKU名称")
    private String name;

    @ApiModelProperty(value = "货品主图")
    private String image;

    @ApiModelProperty(value = "货品小图标")
    private String icon;


}
